package com.tianye.salon.dao;

import javax.validation.constraints.Size;

import org.hibernate.validator.constraints.NotEmpty;


public class AdminUserForAuthDto {
	@NotEmpty(message="用户名不能为空！")
	private String username;
	@Size(min=6, message="密码最少6位！")
	private String password;
	@Size(min=4,max=4, message="请填写4位验证码！")
	private String scode;
	
	
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getScode() {
		return scode;
	}
	public void setScode(String scode) {
		this.scode = scode;
	}
	@Override
	public String toString() {
		return "AdminUserForAuthDto [username=" + username + ", password=" + password + ", scode=" + scode + "]";
	}
	
	
}
